using System.Collections.Generic;
using System.Threading.Tasks;
using JYJ.AiYard.Controllers;
using JYJ.AiYard.Web.Portal.Models.Home;
using Microsoft.AspNetCore.Mvc;

namespace JYJ.AiYard.Web.Portal.Controllers
{
    public class HomeController : AiYardControllerBase
    {


        public HomeController()
        {

        }


        public async Task<ActionResult> Index()
        {
            ViewBag.Supportings = new List<AdvantageViewModel>
            {
                new AdvantageViewModel
                {
                    Title = "会员管理功能", BgColor = "18", IconName = "fa fa-users",
                    Description = "会员注册登录管理用户"
                },
                new AdvantageViewModel
                    {Title = "租户管理功能", BgColor = "7", IconName = "fa  fa-user-friends", Description = "Saas化开发"},
                new AdvantageViewModel
                {
                    Title = "版本管理功能", BgColor = "37", IconName = "fa fa-cubes",
                    Description = "控制租户的版本状态及功能"
                },
                new AdvantageViewModel
                    {Title = "组织单元功能", BgColor = "29", IconName = "fa fa-street-view", Description = ""},
                new AdvantageViewModel
                    {Title = "权限管理系统", BgColor = "45", IconName = "fa fa-key", Description = ""},
                new AdvantageViewModel
                    {Title = "多语言系统", BgColor = "63", IconName = "fa fa-language", Description = ""},
                new AdvantageViewModel
                    {Title = "审计日志管理", BgColor = "39", IconName = "fa fa-sticky-note ", Description = ""},
                new AdvantageViewModel
                {
                    Title = "网站日志管理", BgColor = "28", IconName = "fa fa-blog", Description = ""
                },
                new AdvantageViewModel
                    {Title = "缓存管理", BgColor = "43", IconName = "fa fa-window-restore", Description = ""},
                new AdvantageViewModel
                    {Title = "系统配置管理", BgColor = "36", IconName = "fa fa-cogs", Description = ""},
                new AdvantageViewModel
                    {Title = "文件存储管理", BgColor = "2", IconName = "fa fa-file ", Description = ""},
                new AdvantageViewModel
                    {Title = "API接口", BgColor = "25", IconName = "fa fa-crosshairs", Description = ""}
                //new AdvantageViewModel() {Title = "前后端分离", IconName = "fa fa-sitemap", Description = ""},
            };
            ViewBag.Candothings = new List<AdvantageViewModel>
            {
                new AdvantageViewModel {Title = "CRM系统", BgColor = "18", IconName = "fa fa-users"},
                new AdvantageViewModel {Title = "ERP系统", BgColor = "28", IconName = "fa fa-cubes"},
                //new AdvantageViewModel{Title = "BOSS系统",BgColor = "g-color-red",IconName = "fa fa-university"},
                new AdvantageViewModel {Title = "微信管理系统", BgColor = "4", IconName = "fa fa-wechat"},
                new AdvantageViewModel {Title = "商城系统", BgColor = "52", IconName = "fa fa-shopping-cart"},
                new AdvantageViewModel {Title = "社区系统", BgColor = "58", IconName = "fa fa-comment-o"},
                new AdvantageViewModel {Title = "问答系统", BgColor = "24", IconName = "fa fa-comments-o"},
                new AdvantageViewModel {Title = "进销存系统", BgColor = "25 ", IconName = "fa fa-microchip"},
                new AdvantageViewModel {Title = "WMS系统", BgColor = "45", IconName = "fa fa-shopping-basket"},
                new AdvantageViewModel {Title = "人力资源管理系统", BgColor = "7", IconName = "fa fa-id-card"},
                new AdvantageViewModel {Title = "门户系统", BgColor = "63", IconName = "fa fa-desktop"},
                new AdvantageViewModel {Title = "视频管理系统", BgColor = "25 ", IconName = "fa fa-file-video-o"},
                new AdvantageViewModel
                    {Title = "各类SAAS化行业系统", BgColor = "50", IconName = "fa fa-window-restore"}
            };
            ViewBag.GoodForDevelopers = new List<AdvantageViewModel>
            {    new AdvantageViewModel
                {
                    Title = "AntDesign", IconName = "iconfont icon-ant-design",
                    Description = "服务于企业级产品的设计体系，基于确定和自然的设计价值观上的模块化解决方案，让设计者和开发者专注于更好的用户体验。"
                },
                new AdvantageViewModel
                {
                    Title = "Angular", IconName = "iconfont icon-Angular",
                    Description = "学会用Angular构建应用，然后把这些代码和能力复用在多种多种不同平台的应用上 —— Web、移动 Web、移动应用、原生应用和桌面原生应用。"
                },

                new AdvantageViewModel
                {
                    Title = "Ng-Zorro", IconName = "iconfont icon-ant-design",
                    Description =
                        " Ant Design of Angular开发和服务于企业级后台产品。提炼自企业级中后台产品的交互语言和视觉风格。开箱即用的高质量 Angular 组件。使用 TypeScript 构建，提供完整的类型定义文件。"
                },
                new AdvantageViewModel
                {
                    Title = "yoyo-abp-modules", IconName = "fa fa-pencil",
                    Description = "52ABP所有的模块包都开源在github上，发布在Nuget中，欢迎使用，在这里你可以使用已经开发好的插件和内容，让您更方便的扩展和管理第三方库。"
                },
                new AdvantageViewModel
                {
                    Title = "ABP Code Power Tools", IconName = "fa fa-etsy",
                    Description = "52ABP的代码生成器，可以一键生成后端逻辑代码及前端Antdesign代码段，提升开发效率让大家专注于页面代码。"
                },
                new AdvantageViewModel
                {
                    Title = "52ABP开发者文档", IconName = "fa fa-wikipedia-w",
                    Description = "服务于52ABP框架的开发者准备的文档，从这里你可以看到框架的所有技术栈内容。。"
                },
                new AdvantageViewModel
                {
                    Title = "配套视频课程", IconName = "fa fa-file-video-o",
                    Description = "我们在网易云课堂、腾讯等准备了免费和收费的视频，欢迎您的订阅和使用。<a href='https://dwz.cn/kQydQrTe' target='_blank'>https://dwz.cn/kQydQrTe</a> "
                },
                new AdvantageViewModel
                {
                    Title = "规范的API接口", IconName = "fa fa-inbox",
                    Description =
                        "自动将应用程序服务公开为REST风格的HTTP API,并使用动态JavaScript和C＃代理.。与Swagger UI集成，它就提供了一个UI视图界面，可以帮助轻松地测试API。"
                },
                new AdvantageViewModel
                {
                    Title = "多租户", IconName = "fa fa-window-restore",
                    Description =
                        "SaaS应用程序开发变得简单!从数据库到UI的集成多租户ABP框架不仅支持开发多租户应用程序,还能使你的代码更少的了解租户.可以自动确定当前租户,隔离不同租户的数据.支持单个数据库,租户独立的数据库和混合方法.你只需专注于业务代码,让框架代表你处理多租户"
                }
            };





            return View();




        }

        public ActionResult Contact()
        {
            return View();
        }


        public ActionResult Soon()
        {
            return View();
        }
    }
}